package com.zjj.learn.designmodel.pattern.adapter.class_adapter;

/**
 * *** @author zjj_admin
 * *** 2022/4/10 14:17
 */
public class SDAdapterTF extends TFCardImpl implements SDCard{
    @Override
    public String readFromSD() {
        System.out.println("adapter read TF");
        return readFromTF();
    }

    @Override
    public void writeToSD(String msg) {
        System.out.println("adapter write TF");
        writeToTF(msg);
    }
}
